/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service;

import com.tesam.gedeon.entity.ProviderAccount;
import java.util.List;

/**
 *
 * @author joelpacheco
 */
public interface ProviderAccountService {

    public int save(ProviderAccount providerAccount);

    public int delete(ProviderAccount providerAccount);

    public int update(ProviderAccount providerAccount);

    public ProviderAccount getById(int providerAccountId);

    public List<ProviderAccount> getAll();

    public List<ProviderAccount> getAllByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder);

    public List<ProviderAccount> searchByName(ProviderAccount providerAccount, int satartLimit, int endLimit);

    public int getCountSearchByName(ProviderAccount providerAccount);

    public int getCountTotal();

    public String getJsonDataFromArrayList(List<ProviderAccount> listaDeProviderAccount, int cantidadRegistros, int moduleId);
}
